<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<include file="__VIEW__/Common/header.html"/>
	</head>
	<body>
		<table class="table table-hover">
			<tr class="active">
			  <th width="30">tid</th>
			  <th>标签名</th>
			  <th width="200">操作</th>
			</tr>
			<foreach from="$data" key="$k" value="$v">
			<tr>
				<td>{$v.tid}</td>
				<td>{$v.tagname}</td>
				<td>
					<a href="{|U:'editTag',array('tid'=>$v['tid'])}" class="btn btn-sm btn-warning">编辑</a>
					<a href="javascript:;" class="btn btn-sm btn-danger" onclick="if(confirm('确定删除吗')) location.href='{|U:'del',array('tid'=>$v['tid'])}'">删除</a>
				</td>
			</tr>
			</foreach>
		</table>
	</body>
</html>
